import json
import requests
import traceback
##114.55.232.244
url = 'http://localhost:4821/gjjServices/queryGjjCode'
data = {
	'name': 'xxx.js',
	'cityId':1,
    'callbackUrl': 'http://www.baidu.com',
	'url':'http://www.baidu.com',
	'data':'{id:1111}',
	'taskId':0
}

#headers = {'Content-Type': 'application/json'}
#, headers = headers,timeout= 50
print(' times try sent at ')
try:
	r = requests.get(url+'?taskId=10');
	print(r.text)
except:
	print("1")
	exstr = traceback.format_exc()
	print(exstr)